datediff in hour query builder laravel

57

datediff in hour query builder laravel -

DB::table('product')->whereRaw('DATEDIFF(exp_date,current_date) < 15')->get();

Comments

Submit
0 Comments